package cn.pink.common.entity.logic.group;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * 玩家群
 */
public class CacheEntityGroup implements Serializable {
    private long id;

    /** 玩家群名称 */
    private String name;

    /** 公告 */
    private String notice;

    /** 群头像 */
    private int headId;

    /** 群主 */
    private String leader;

    /** 是否带审批 */
    private int apply;

    /** 加入需要等级限制 */
    private int requireLv;

    /** 管理员列表 */
    private Set<String> admins = new HashSet<>();

    /** 申请玩家列表 */
    private List<String> applyList = new ArrayList<>();

    /** 成员列表 */
    private Set<String> memberList = new HashSet<>();

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public int getHeadId() {
        return headId;
    }

    public void setHeadId(int headId) {
        this.headId = headId;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public int getApply() {
        return apply;
    }

    public void setApply(int apply) {
        this.apply = apply;
    }

    public int getRequireLv() {
        return requireLv;
    }

    public void setRequireLv(int requireLv) {
        this.requireLv = requireLv;
    }

    public Set<String> getAdmins() {
        return admins;
    }

    public void setAdmins(Set<String> admins) {
        this.admins = admins;
    }

    public List<String> getApplyList() {
        return applyList;
    }

    public void setApplyList(List<String> applyList) {
        this.applyList = applyList;
    }

    public Set<String> getMemberList() {
        return memberList;
    }

    public void setMemberList(Set<String> memberList) {
        this.memberList = memberList;
    }
}
